<?php
require('config.php');

        $user_id=$_REQUEST['user_id'];
        $tiezi_id=$_REQUEST['tiezi_id'];
        $content=$_REQUEST['content'];
        $time=date('Y-m-d H:i:s');
		$sql="INSERT INTO ".$oto."_posts_inform (`psId`,`type`,`time`,`content`,`userId`,`status`,`isDel`) VALUES ('$tiezi_id','0','$time','$content','$user_id','0','0')";
        $result=$db->query($sql);
        if($result)
        {
        	$data[0]['pan']="true";
        }
        else $data[0]['pan']="false";
		echo json_encode($data);
?>